package com.github.base.dto.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 机构排序Dto
 *
 * @author zhouwentong
 * @version v1.0
 * @since v1.0
 * Create by zhouwentong 2021-01-28
 */

@Data
public class DeptOrderDTO {

    @NotNull(message = "机构id不能为空")
    @Schema(description = "机构id", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Long fId;

    @NotNull(message = "机构id不能为空")
    @Schema(description = "机构id", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    private Long sId;

}
